It may come to pass that we need to embed a RackForms form in a more complex 
shopping cart application. 

This could be for many reasons, but perhaps the most common is that the 
shopping cart software doesn't have the ability to support complex forms.

A potential solution to this is to embed a RackForms form in the shopping cart page
using an iFrame, and submit this form alongside the shopping cart page.

This way we get the power of the shopping cart logic, as well as the 
flexibility RackForms forms provide. 

The key to this process is we use JavaScript to intercept the e-commerce tools
submit button so that we call a custom iFrame submit routine instead.

This routine submits the 'child' iFrame form without asking the user to hit submit 
again, then, on the confirmation page of the iFrame form, we use
one more line of JavaScript ro submit the parent or e-commerce form.

This sample job shows this is action. This is a somewhat tricky 
bit of business, so please feel free to contact me with any questions!



You can learn more about this interaction at:

http://www.dyn-web.com/tutorials/iframes/



Also, although made for a specific user, this video should help explain the process:

http://www.formboss.net/videos/parent-child-submission/parent-child-submission.htm
